package com.housediyadmin.events.goodsEvents
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author yanghanbing
	 * 
	 */	
	public class GetGoodsByTypeIDEvent extends Event
	{
		public static const GET_GOODS_BY_TYPEID:String = "getGoodsByTypeId";
		public static const UPDATE_GOODS_MODEL:String = "updateGoodsModel";
		
		public var typeIdArray:Array;
		public var goodsArray:ArrayCollection;
		
		public function GetGoodsByTypeIDEvent(type:String, typeIdArr:Array = null, goodsArray:ArrayCollection = null)
		{
			super(type);
			this.typeIdArray = typeIdArr;
			this.goodsArray = goodsArray;
		}
		
		override public function clone():Event
		{
			return new GetGoodsByTypeIDEvent(type, typeIdArray, goodsArray);
		}
	}
}